#include <iostream>
#include "StdMyString.h"

int main()
{
    
    // StdMyString str1("helloworld");
    // // StdMyString str2("ell");
    // str1.InsertByIndex(0, "nanjing");
    // std::cout << str1 << std::endl;


    int a =192;
    int b = 168;
    int c = 140;
    int d = 137;

    StdMyString str =   StdMyString::Number(a) + "." + 
                        StdMyString::Number(b) + "." + 
                        StdMyString::Number(c) + "." + 
                        StdMyString::Number(d);
    
    std::cout << str << std::endl;



    float pi = 3.14;
    float r = 10;
    StdMyString str1 =  StdMyString::Number(pi) + "*" + 
                        StdMyString::Number(r) + "*" + 
                        StdMyString::Number(r) + "=" + 
                        StdMyString::Number(pi * r * r);
    std::cout << str1 << std::endl;

    return 0;

}
